package com.jr.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProviderService {
    private Integer id;
    private Integer providerId;
    private Integer serviceTypeId;
    private BigDecimal price;
    private Boolean isAvailable;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
    
    // 关联查询字段
    private String businessName;
    private String serviceName;
    private BigDecimal basePrice;
    private String priceUnit;
}
